﻿using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace TowerDefense.Actors {
    public class Unit : Actor 
    {
        protected Vector2 direction;
        protected float speed;
        protected float radius; //attack radius, i.e. distance it can see the opposition
  

        public Unit(Texture2D texture, Color color)
            : base(texture, color)
        {
            this.moveable = true;
            
            //comment
        }

        public virtual void Move(Location destination)
        {
            goal = destination;
        }
    }
}
